package com.example.miaosha1.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.miaosha1.redis.RedisService;

@RestController
@RequestMapping("/demo")
public class DemoController {
	
	@Autowired
	private RedisService redisService;

	@GetMapping
	public String test() {
		return "hello world!";
	}
}
